2 Problem: 483 - Word scramble
3 Author: Andrés Mejía-Posada
4 (http://blogaritmo.factorcomun.org)
28 #define D(x) cout << #x " is " << x << endl
31 for (string s
; getline(cin
, s
); cout
<< "\n"){
33 for (stringstream
sin(s
); sin
>> s
; reverse(s
.begin(), s
.end()), cout
<< (first
? "" : " ") << s
, first
= false);